export default {
  app: {
    title: 'LinkVerify',
    version: '版本',
    about: '关于',
    memory: '内存',
    newTab: '新标签页',
    environmentVariables: '环境变量',
    globalSettings: '全局设置'
  },
  common: {
    confirm: '确认',
    cancel: '取消',
    save: '保存',
    delete: '删除',
    edit: '编辑',
    add: '添加',
    search: '搜索',
    reset: '重置',
    close: '关闭',
    clear: '清空',
    loading: '加载中...',
    success: '成功',
    error: '错误',
    warning: '警告',
    info: '信息',
    connected: '已连接',
    disconnected: '未连接',
    optional: '可选',
    required: '必填',
    use: '使用',
    export: '导出',
    import: '导入',
    reload: '重新加载',
    formatJson: '格式化 JSON',
    autoScroll: '自动滚动',
    filter: '过滤',
    noData: '暂无数据',
    options: '配置',
    total: '总共'
  },
  menu: {
    dashboard: '仪表盘',
    httpClient: 'HTTP 客户端',
    httpServer: 'HTTP 服务器',
    mqttClient: 'MQTT 客户端',
    websocket: 'WebSocket',
    tcpUdp: 'TCP/UDP',
    tcpClient: 'TCP 客户端',
    tcpServer: 'TCP 服务器',
    udpClient: 'UDP 客户端',
    udpServer: 'UDP 服务器',
    tools: '工具',
    jsonFormatter: 'JSON 格式化',
    base64: 'Base64 编解码',
    timestamp: '时间戳转换',
    history: '历史记录',
    settings: '设置',
    http: 'HTTP'
  },
  dashboard: {
    title: '仪表盘',
    description: '系统概览和快速访问',
    successRequests: '成功请求',
    failedRequests: '失败请求',
    activeConnections: '活动连接',
    avgResponseTime: '平均响应时间',
    recentActivity: '最近活动',
    quickActions: '快速操作',
    newHttpRequest: '新建HTTP请求',
    startHttpServer: '启动HTTP服务器',
    connectMqtt: '连接MQTT',
    importConfig: '导入配置',
    type: '类型',
    method: '方法',
    urlOrTopic: 'URL/主题',
    status: '状态',
    time: '时间',
    action: '操作'
  },
  http: {
    client: {
      title: 'HTTP 客户端',
      description: 'HTTP/HTTPS 协议请求测试工具',
      sendRequest: '发送请求',
      requestConfig: '请求配置',
      responseInfo: '响应信息',
      requestHistory: '请求历史',
      paramType: '参数类型',
      bodyType: '请求体类型',
      authType: '认证类型',
      noAuth: '无认证',
      basicAuth: 'Basic 认证',
      bearerToken: 'Bearer Token',
      apiKey: 'API Key',
      customHeader: '自定义请求头',
      addHeader: '添加请求头',
      key: '键',
      value: '值',
      description: '描述',
      responseHeaders: '响应头',
      responseBody: '响应体',
      responseTime: '响应时间',
      responseSize: '响应大小'
    },
    server: {
      title: 'HTTP 服务器',
      description: '本地 HTTP 服务器模拟',
      serverStatus: '服务器状态',
      serverAddress: '服务器地址',
      port: '端口',
      running: '运行中',
      stopped: '已停止',
      start: '启动',
      stop: '停止',
      routes: '路由',
      addRoute: '添加路由',
      path: '路径',
      handler: '处理器',
      requestLog: '请求日志',
      clearLog: '清空日志',
      autoResponse: '自动响应',
      customResponse: '自定义响应',
      responseCode: '响应码',
      responseDelay: '响应延迟'
    },
    method: '方法',
    url: 'URL',
    headers: '请求头',
    params: '参数',
    body: '请求体',
    auth: '认证',
    response: '响应',
    status: '状态',
    time: '耗时',
    size: '大小',
    send: '发送',
    sending: '发送中...'
  },
  mqtt: {
    client: {
      title: 'MQTT 客户端',
      description: 'MQTT 协议客户端，支持消息订阅和发布',
      connectionSettings: '连接设置',
      brokerAddress: '服务器地址',
      connectionStatus: '连接状态',
      autoGenerateId: '自动生成',
      subscriptions: '订阅管理',
      subscribedTopics: '已订阅主题',
      noSubscriptions: '暂无订阅',
      messages: '消息',
      publish: '发布',
      publishMessage: '发布消息',
      publishHistory: '发布历史',
      messageTemplate: '消息模板',
      clearMessages: '清空消息',
      noMessages: '暂无消息',
      filterTopic: '过滤主题...',
      sent: '已发送',
      received: '已接收',
      messageDirection: '消息方向',
      timestamp: '时间戳'
    },
    connect: '连接',
    disconnect: '断开连接',
    subscribe: '订阅',
    unsubscribe: '取消订阅',
    publish: '发布',
    topic: '主题',
    qos: 'QoS',
    retain: '保留',
    message: '消息',
    clientId: '客户端 ID',
    username: '用户名',
    password: '密码'
  },
  websocket: {
    title: 'WebSocket',
    description: 'WebSocket 协议测试工具',
    serverUrl: '服务器地址',
    connect: '连接',
    disconnect: '断开',
    sendMessage: '发送消息',
    messageHistory: '消息历史',
    connectionEvents: '连接事件',
    protocols: '子协议',
    reconnect: '重连',
    autoReconnect: '自动重连',
    reconnectInterval: '重连间隔'
  },
  tcpUdp: {
    title: 'TCP/UDP',
    description: 'TCP/UDP 协议测试工具',
    protocol: '协议',
    serverMode: '服务器模式',
    clientMode: '客户端模式',
    host: '主机',
    port: '端口',
    localAddress: '本地地址',
    remoteAddress: '远程地址',
    dataFormat: '数据格式',
    sendData: '发送数据',
    receivedData: '接收数据',
    hexFormat: '十六进制',
    textFormat: '文本格式'
  },
  tools: {
    jsonFormatter: {
      title: 'JSON 格式化',
      description: 'JSON 数据格式化和验证工具',
      input: '输入',
      output: '输出',
      format: '格式化',
      minify: '压缩',
      validate: '验证',
      copy: '复制',
      clear: '清空',
      valid: '有效的 JSON',
      invalid: '无效的 JSON',
      indent: '缩进',
      sortKeys: '排序键'
    },
    base64: {
      title: 'Base64 编解码',
      description: 'Base64 编码和解码工具',
      encode: '编码',
      decode: '解码',
      text: '文本',
      encoded: '编码结果',
      decoded: '解码结果',
      inputPlaceholder: '请输入要编码的文本',
      outputPlaceholder: '请输入要解码的 Base64 字符串',
      urlSafe: 'URL 安全',
      lineBreaks: '换行'
    },
    timestamp: {
      title: '时间戳转换',
      description: '时间戳和日期时间相互转换工具',
      current: '当前时间戳',
      timestampToDate: '时间戳转日期',
      dateToTimestamp: '日期转时间戳',
      timestamp: '时间戳',
      datetime: '日期时间',
      format: '格式',
      timezone: '时区',
      milliseconds: '毫秒',
      seconds: '秒',
      copy: '复制',
      now: '现在'
    }
  },
  history: {
    title: '历史记录',
    description: '查看和管理请求历史',
    clearAll: '清空全部',
    clearConfirm: '确定要清空所有历史记录吗？',
    filter: '过滤',
    exportHistory: '导出历史',
    importHistory: '导入历史',
    type: '类型',
    time: '时间',
    url: 'URL',
    status: '状态',
    duration: '耗时',
    size: '大小',
    details: '详情',
    replay: '重放',
    delete: '删除',
    noHistory: '暂无历史记录'
  },
  settings: {
    title: '设置',
    description: '应用程序设置和配置',
    general: '通用',
    appearance: '外观',
    network: '网络',
    advanced: '高级',
    language: '语言',
    theme: '主题',
    lightTheme: '浅色主题',
    darkTheme: '深色主题',
    autoTheme: '跟随系统',
    fontSize: '字体大小',
    proxy: '代理',
    proxyEnabled: '启用代理',
    proxyHost: '代理主机',
    proxyPort: '代理端口',
    proxyAuth: '代理认证',
    timeout: '超时时间',
    maxRedirects: '最大重定向',
    certificates: '证书',
    ignoreCertErrors: '忽略证书错误',
    dataDir: '数据目录',
    logLevel: '日志级别',
    exportSettings: '导出设置',
    importSettings: '导入设置',
    resetSettings: '重置设置',
    resetConfirm: '确定要重置所有设置吗？'
  },
  tcpClient: {
    title: 'TCP 客户端',
    description: 'TCP 协议客户端连接测试工具',
    connection: '连接配置',
    host: '服务器地址',
    port: '端口',
    encoding: '编码',
    lineEnding: '行结束符',
    none: '无',
    connect: '连接',
    disconnect: '断开连接',
    sendData: '发送数据',
    enterMessage: '输入要发送的消息',
    hexInput: 'HEX 输入',
    send: '发送',
    messages: '消息记录',
    noMessages: '暂无消息',
    statistics: '统计信息',
    messagesSent: '发送消息',
    messagesReceived: '接收消息',
    bytesSent: '发送字节',
    bytesReceived: '接收字节',
    received: '接收',
    sent: '发送',
    system: '系统',
    connectionSuccess: '连接成功',
    connectionFailed: '连接失败',
    disconnected: '已断开连接',
    connectionLost: '连接已丢失',
    sendFailed: '发送失败'
  },
  tcpServer: {
    title: 'TCP 服务器',
    description: 'TCP 协议服务器监听和管理工具',
    serverControl: '服务器控制',
    port: '监听端口',
    encoding: '编码',
    startServer: '启动服务器',
    stopServer: '停止服务器',
    listeningOn: '正在监听端口',
    connectedClients: '已连接客户端',
    noClients: '暂无客户端连接',
    address: '地址',
    status: '状态',
    connected: '已连接',
    actions: '操作',
    kick: '断开',
    sendData: '发送数据',
    sendTo: '发送到',
    selectClient: '选择客户端',
    broadcast: '广播所有',
    enterMessage: '输入要发送的消息',
    hexInput: 'HEX 输入',
    send: '发送',
    messages: '消息记录',
    allClients: '所有客户端',
    noMessages: '暂无消息',
    statistics: '统计信息',
    activeClients: '活动客户端',
    totalConnections: '总连接数',
    messagesReceived: '接收消息',
    messagesSent: '发送消息',
    received: '接收',
    sent: '发送',
    system: '系统',
    serverStarted: '服务器已启动',
    serverStopped: '服务器已停止',
    serverStartFailed: '服务器启动失败',
    clientConnected: '客户端已连接',
    clientDisconnected: '客户端已断开',
    broadcastSent: '广播消息已发送',
    sendFailed: '发送失败'
  },
  udpClient: {
    title: 'UDP 客户端',
    description: 'UDP 协议客户端数据包发送工具',
    configuration: '配置',
    remoteHost: '远程主机',
    remotePort: '远程端口',
    localPort: '本地端口',
    auto: '自动',
    localPortTip: '留空则自动分配',
    encoding: '编码',
    start: '启动',
    stop: '停止',
    boundTo: '绑定到端口',
    sendData: '发送数据',
    enterMessage: '输入要发送的消息',
    hexInput: 'HEX 输入',
    send: '发送',
    messages: '消息记录',
    noMessages: '暂无消息',
    statistics: '统计信息',
    packetsSent: '发送数据包',
    packetsReceived: '接收数据包',
    bytesSent: '发送字节',
    bytesReceived: '接收字节',
    received: '接收',
    sent: '发送',
    system: '系统',
    clientStarted: 'UDP 客户端已启动',
    clientStopped: 'UDP 客户端已停止',
    startFailed: '启动失败',
    sendFailed: '发送失败'
  },
  udpServer: {
    title: 'UDP 服务器',
    description: 'UDP 协议服务器监听和响应工具',
    serverControl: '服务器控制',
    port: '监听端口',
    encoding: '编码',
    startServer: '启动服务器',
    stopServer: '停止服务器',
    listeningOn: '正在监听端口',
    recentClients: '最近的客户端',
    noClients: '暂无客户端',
    address: '地址',
    lastSeen: '最后活动',
    sendResponse: '发送响应',
    targetHost: '目标主机',
    targetPort: '目标端口',
    useSelected: '使用选中',
    enterMessage: '输入要发送的消息',
    hexInput: 'HEX 输入',
    send: '发送',
    messages: '消息记录',
    allClients: '所有客户端',
    noMessages: '暂无消息',
    statistics: '统计信息',
    uniqueClients: '独立客户端',
    packetsReceived: '接收数据包',
    packetsSent: '发送数据包',
    totalData: '总数据量',
    received: '接收',
    sent: '发送',
    system: '系统',
    serverStarted: '服务器已启动',
    serverStopped: '服务器已停止',
    serverStartFailed: '服务器启动失败',
    sendFailed: '发送失败'
  }
}